Optimal. Leaf size=161 \[ \frac {208 a^2 \sqrt {\sec (c+d x)} \sin (c+d x)}{105 d \sqrt {a+a \cos (c+d x)}}+\frac {104 a^2 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{105 d \sqrt {a+a \cos (c+d x)}}+\frac {26 a^2 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 161, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 5, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4307, 2841, 21,
2851, 2850} \begin {gather*} \frac {2 a^2 \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{7 d \sqrt {a \cos (c+d x)+a}}+\frac {26 a^2 \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{35 d \sqrt {a \cos (c+d x)+a}}+\frac {104 a^2 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{105 d \sqrt {a \cos (c+d x)+a}}+\frac {208 a^2 \sin (c+d x) \sqrt {\sec (c+d x)}}{105 d \sqrt {a \cos (c+d x)+a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2841
Rule 2850
Rule 2851
Rule 4307
Rubi steps
\begin {align*} \int (a+a \cos (c+d x))^{3/2} \sec ^{\frac {9}{2}}(c+d x) \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {(a+a \cos (c+d x))^{3/2}}{\cos ^{\frac {9}{2}}(c+d x)} \, dx\\ &=\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}-\frac {1}{7} \left (2 a \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {-\frac {13 a}{2}-\frac {13}{2} a \cos (c+d x)}{\cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \cos (c+d x)}} \, dx\\ &=\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}+\frac {1}{7} \left (13 a \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {7}{2}}(c+d x)} \, dx\\ &=\frac {26 a^2 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}+\frac {1}{35} \left (52 a \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {5}{2}}(c+d x)} \, dx\\ &=\frac {104 a^2 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{105 d \sqrt {a+a \cos (c+d x)}}+\frac {26 a^2 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}+\frac {1}{105} \left (104 a \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {3}{2}}(c+d x)} \, dx\\ &=\frac {208 a^2 \sqrt {\sec (c+d x)} \sin (c+d x)}{105 d \sqrt {a+a \cos (c+d x)}}+\frac {104 a^2 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{105 d \sqrt {a+a \cos (c+d x)}}+\frac {26 a^2 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{7 d \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.28, size = 72, normalized size = 0.45 \begin {gather*} \frac {2 a \sqrt {a (1+\cos (c+d x))} (41+117 \cos (c+d x)+26 \cos (2 (c+d x))+26 \cos (3 (c+d x))) \sec ^{\frac {7}{2}}(c+d x) \tan \left (\frac {1}{2} (c+d x)\right )}{105 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 83, normalized size = 0.52
method | result | size |
default | \(-\frac {2 \left (104 \left (\cos ^{4}\left (d x +c \right )\right )-52 \left (\cos ^{3}\left (d x +c \right )\right )-13 \left (\cos ^{2}\left (d x +c \right )\right )-24 \cos \left (d x +c \right )-15\right ) \cos \left (d x +c \right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {9}{2}} a}{105 d \sin \left (d x +c \right )}\) | \(83\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.54, size = 263, normalized size = 1.63 \begin {gather*} \frac {4 \, {\left (\frac {105 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {245 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}} + \frac {273 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {171 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}} + \frac {38 \, \sqrt {2} a^{\frac {3}{2}} \sin \left (d x + c\right )^{9}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{9}}\right )} {\left (\frac {\sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + 1\right )}^{3}}{105 \, d {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {9}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {9}{2}} {\left (\frac {3 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {3 \, \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} + \frac {\sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.42, size = 86, normalized size = 0.53 \begin {gather*} \frac {2 \, {\left (104 \, a \cos \left (d x + c\right )^{3} + 52 \, a \cos \left (d x + c\right )^{2} + 39 \, a \cos \left (d x + c\right ) + 15 \, a\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{105 \, {\left (d \cos \left (d x + c\right )^{4} + d \cos \left (d x + c\right )^{3}\right )} \sqrt {\cos \left (d x + c\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.14, size = 221, normalized size = 1.37 \begin {gather*} \frac {-35\,a\,\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\sqrt {\frac {2\,{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}+91\,a\,\sin \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\sqrt {\frac {2\,{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}+26\,a\,\sin \left (\frac {7\,c}{2}+\frac {7\,d\,x}{2}\right )\,\sqrt {a+a\,\cos \left (c+d\,x\right )}\,\sqrt {\frac {2\,{\mathrm {e}}^{c\,1{}\mathrm {i}+d\,x\,1{}\mathrm {i}}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}}{\frac {315\,d\,\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}{8}+\frac {315\,d\,\cos \left (\frac {3\,c}{2}+\frac {3\,d\,x}{2}\right )}{8}+\frac {105\,d\,\cos \left (\frac {5\,c}{2}+\frac {5\,d\,x}{2}\right )}{8}+\frac {105\,d\,\cos \left (\frac {7\,c}{2}+\frac {7\,d\,x}{2}\right )}{8}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________